package com.jic.order.mapper;
import java.util.List;
import com.jic.order.model.entity.MAfterSalesReasons;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MAfterSalesReasonsMapper {
	/**
	 * M_AFTER_SALES_REASONS插入数据
	 * @param mAfterSalesReasons 入参实体类
	 */
	int insert (MAfterSalesReasons mAfterSalesReasons);

	/**
	 * M_AFTER_SALES_REASONS插入数据
	 * @param mAfterSalesReasons 入参实体类
	 */
	int insertSelective (MAfterSalesReasons mAfterSalesReasons);

	/**
	 * M_AFTER_SALES_REASONS根据表对象数据修改数据
	 * @param mAfterSalesReasons 入参实体类
	 */
	int updateByPrimaryKey (MAfterSalesReasons mAfterSalesReasons);

	/**
	 * M_AFTER_SALES_REASONS根据表对象数据修改数据
	 * @param mAfterSalesReasons 入参实体类
	 */
	int updateByPrimaryKeySelective (MAfterSalesReasons mAfterSalesReasons);

	/**
	 * M_AFTER_SALES_REASONS根据id删除数据
	 * @param mAfterSalesReasons 入参实体类
	 */
	int deleteByPrimaryKey (MAfterSalesReasons mAfterSalesReasons);

	/**
	 * M_AFTER_SALES_REASONS根据主键查询数据
	 * @param mAfterSalesReasons 入参实体类
	 */
	MAfterSalesReasons selectByPrimaryKey (MAfterSalesReasons mAfterSalesReasons);

	/**
	 * M_AFTER_SALES_REASONS根据主键查询数据
	 * @param mAfterSalesReasons 入参实体类
	 */
	List<MAfterSalesReasons> listPageBySelective (MAfterSalesReasons mAfterSalesReasons);

	/**
	 * M_AFTER_SALES_REASONS查询数据
	 * @param mAfterSalesReasons 入参实体类
	 */
	List<MAfterSalesReasons>  selectBySelective (MAfterSalesReasons mAfterSalesReasons);

	}
